package com.springcloud.study;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by zw on 2017/11/30.
 */
@RestController
public class TestControl {
    @Value("${recvmq.concurrency}")
    private String str;

    @RequestMapping("/hi")
    String hello() {
        return "Hello " + str + "!";
    }
}